package com.fingard.dsp.web.page;

import com.fingard.FGBiz;
import com.fingard.text.StringHelper;

public class RunTimeMsg extends PageBase{
	
	@Override
	public void pageLoad() throws Exception{
		
		httpContext.response.isRtnBytes = false;
		httpContext.response.setContentType("txt", "");
		
		//要查询的客户端请求id
		String qReqId = httpContext.request.getQryStrValue("qreqid");
		if(StringHelper.hasAnyChar(qReqId)){
			PageBase aPage = FGBiz.webRuntimeMngr.getReq(qReqId);
			if(aPage!=null){
				httpContext.response.respMsg = aPage.getRunTimeMsg();
			}else{
				httpContext.response.respMsg = "已结束";
			}
		}else{
			httpContext.response.respMsg = "请求qreqid为空";
		}
	}
}
